WORKSPACE=..

LUBAN_DLL=$WORKSPACE/Tools/Luban/Luban.dll
GEN_CLIENT=$LUBAN_DLL
CONF_ROOT=.
CONF_CODE_DIR=$CONF_ROOT/../Assets/Generated/
CONF_DATA_DIR=$CONF_ROOT/../Assets/DataTables/

dotnet $GEN_CLIENT \
    -t client \
    -c cs-simple-json \
    -d json \
    --conf $CONF_ROOT/luban.conf \
    -x outputCodeDir=$CONF_CODE_DIR \
    -x outputDataDir=$CONF_DATA_DIR